Skip to content

Conversation

@ykmr1224
Copy link
Collaborator

@ykmr1224 ykmr1224 commented Nov 5, 2025

This PR is for feature branch feature/permissive

Description

  • Support join with dynamic fields (join / lookup)
  • For the parameter which cannot directly accept dynamic fields, added validation and clearer error.

Related Issues

Permissive mode RFC: #4349
Dynamic fields RFC: #4433

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • New PPL command checklist all confirmed.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff or -s.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@ykmr1224 ykmr1224 added PPL Piped processing language calcite calcite migration releated labels Nov 5, 2025
@ykmr1224 ykmr1224 self-assigned this Nov 5, 2025
@ykmr1224 ykmr1224 added the enhancement New feature or request label Nov 5, 2025
@ykmr1224 ykmr1224 force-pushed the dynamic-join branch 3 times, most recently from de18e85 to bd31d16 Compare November 6, 2025 17:46
@ykmr1224 ykmr1224 marked this pull request as ready for review November 6, 2025 22:08
}

@Test
public void testJoinDynamicWithStaticWithoutCast1() throws IOException {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Type coercion cannot solve this issue since EQUAL operator is defined as parameters=[Comparable, Comparable]. (Underlying problem is, when Equal(Object, *) is used, Calcite generate invalid code.)
I am thinking to define another definition of EQUAL operator specific for ANY type to workaround this issue.

@ykmr1224 ykmr1224 force-pushed the dynamic-join branch 2 times, most recently from 7d57d90 to 56eb6f9 Compare November 11, 2025 22:09
Signed-off-by: Tomoyuki Morita <[email protected]>
Signed-off-by: Tomoyuki Morita <[email protected]>
Signed-off-by: Tomoyuki Morita <[email protected]>
Signed-off-by: Tomoyuki Morita <[email protected]>
Signed-off-by: Tomoyuki Morita <[email protected]>
Signed-off-by: Tomoyuki Morita <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

calcite calcite migration releated enhancement New feature or request PPL Piped processing language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant